<!DOCTYPE html><html><head><title>可可直播接口文档</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style>
.note-content  {font-family: 'Helvetica Neue', Arial, 'Hiragino Sans GB', STHeiti, 'Microsoft YaHei', 'WenQuanYi Micro Hei', SimSun, Song, sans-serif;}

</style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h1 id="可可直播接口文档">可可直播接口文档</h1>

<div><div class="toc"><div class="toc">
<ul>
<li><a href="#可可直播接口文档">可可直播接口文档</a><ul>
<li><ul>
<li><ul>
<li><ul>
<li><a href="#1发布红包游戏">1.发布红包游戏</a></li>
<li><a href="#2参与红包游戏">2.参与红包游戏</a></li>
<li><a href="#3未参与红包游戏列表">3.未参与红包游戏列表</a></li>
<li><a href="#4参与红包游戏列表">4.参与红包游戏列表</a></li>
<li><a href="#5已参与红包任务详情">5.已参与红包任务详情</a></li>
<li><a href="#6未参与任务详情">6.未参与任务详情</a></li>
<li><a href="#7-红包退款">7. 红包退款</a></li>
<li><a href="#8我的收益">8.我的收益</a></li>
<li><a href="#9红包规则">9.红包规则</a></li>
<li><a href="#10我的余额">10.我的余额</a></li>
<li><a href="#11我的钱包-商城">11.我的钱包 （商城）</a></li>
<li><a href="#12我的消费记录商城">12.我的消费记录（商城）</a></li>
<li><a href="#13申请提现商城">13.申请提现（商城）</a></li>
<li><a href="#14我的邀请码商城">14.我的邀请码（商城）</a></li>
<li><a href="#15播豆支付获取所需支付播豆和账号余额播豆">15.播豆支付，获取所需支付播豆和账号余额播豆</a></li>
<li><a href="#16播豆支付">16.播豆支付</a></li>
<li><a href="#17我的推荐">17.我的推荐</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>

<p><strong>①直播接口域名</strong>：  <a href="http://vlive.jianghaishiji.com/" target="_blank">http://vlive.jianghaishiji.com/</a> <br>
<strong>②商城接口域名</strong>：<a href="http://shop.jianghaishiji.com" target="_blank">http://shop.jianghaishiji.com</a></p>



<h5 id="1发布红包游戏">1.发布红包游戏</h5>

<pre class="prettyprint hljs-dark"><code class="hljs protobuf"><div class="hljs-line">    url <span class="hljs-class"><span class="hljs-keyword">service</span>=<span class="hljs-title">RedBagGame</span>.addRedgame
</span></div><div class="hljs-line">    参数
</div><div class="hljs-line">    uid    用户ID
</div><div class="hljs-line">    title  主题
</div><div class="hljs-line">    num    总人数
</div><div class="hljs-line">    money  每人支付
</div><div class="hljs-line">    liveid 直播间ID
</div><div class="hljs-line">    返回
</div><div class="hljs-line">    {
</div><div class="hljs-line">       <span class="hljs-string">"ret"</span>: <span class="hljs-number">200</span>,
</div><div class="hljs-line">         <span class="hljs-string">"data"</span>: {
</div><div class="hljs-line">            <span class="hljs-string">"code"</span>: <span class="hljs-number">0</span>,
</div><div class="hljs-line">            <span class="hljs-string">"msg"</span>: <span class="hljs-string">"发布任务成功"</span>,
</div><div class="hljs-line">            <span class="hljs-string">"info"</span>: [
</div><div class="hljs-line">                <span class="hljs-number">0</span>
</div><div class="hljs-line">            ]
</div><div class="hljs-line">        },
</div><div class="hljs-line">      <span class="hljs-string">"msg"</span>: <span class="hljs-string">""</span>
</div><div class="hljs-line">  }
</div></code></pre>



<h5 id="2参与红包游戏">2.参与红包游戏</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line">    url  service=RedBagGame.parRedgame
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    uid 用户ID
</div><div class="hljs-line">    task_id  任务ID
</div><div class="hljs-line">    liveid 直播间ID
</div><div class="hljs-line">    返回
</div><div class="hljs-line">     第一种返回
</div><div class="hljs-line">     {
</div><div class="hljs-line">        <span class="hljs-string">"ret"</span>: <span class="hljs-number">200</span>,
</div><div class="hljs-line">        <span class="hljs-string">"data"</span>: {
</div><div class="hljs-line">            <span class="hljs-string">"code"</span>: <span class="hljs-number">0</span>,
</div><div class="hljs-line">            <span class="hljs-string">"msg"</span>: <span class="hljs-string">"参与任务成功"</span>,
</div><div class="hljs-line">            <span class="hljs-string">"info"</span>: [
</div><div class="hljs-line">                <span class="hljs-number">0</span>
</div><div class="hljs-line">            ]
</div><div class="hljs-line">       },
</div><div class="hljs-line">      <span class="hljs-string">"msg"</span>: <span class="hljs-string">""</span>
</div><div class="hljs-line">  }
</div><div class="hljs-line">  第二种返回
</div><div class="hljs-line">    {
</div><div class="hljs-line">    <span class="hljs-string">"ret"</span>: <span class="hljs-number">200</span>,
</div><div class="hljs-line">        <span class="hljs-string">"data"</span>: {
</div><div class="hljs-line">           <span class="hljs-string">"code"</span>: -<span class="hljs-number">2</span>,
</div><div class="hljs-line">           <span class="hljs-string">"msg"</span>: <span class="hljs-string">"您已参与过此任务"</span>,
</div><div class="hljs-line">           <span class="hljs-string">"info"</span>: [
</div><div class="hljs-line">              <span class="hljs-number">1002</span>
</div><div class="hljs-line">            ]
</div><div class="hljs-line">        },
</div><div class="hljs-line">       <span class="hljs-string">"msg"</span>: <span class="hljs-string">""</span>
</div><div class="hljs-line">   }
</div></code></pre>



<h5 id="3未参与红包游戏列表">3.未参与红包游戏列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs protobuf"><div class="hljs-line">  url <span class="hljs-class"><span class="hljs-keyword">service</span>=<span class="hljs-title">RedBagGame</span>.redGamelist
</span></div><div class="hljs-line">  参数
</div><div class="hljs-line">  uid
</div><div class="hljs-line">  返回
</div><div class="hljs-line">  {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"info"</span>:[{<span class="hljs-string">"task_id"</span>:<span class="hljs-string">"15"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"8895"</span>,<span class="hljs-string">"title"</span>:<span class="hljs-string">"\u4e0d\u540c\u7684\u798f\u8fd0\uff0c\u8ba9\u4f60\u8f7b\u677e\u62a2\u5230200\u64ad\u8c46"</span>,<span class="hljs-string">"num"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"already_num"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"money"</span>:<span class="hljs-string">"10"</span>}]},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="4参与红包游戏列表">4.参与红包游戏列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line"> url  service=RedBagGame.haveGamelist
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> uid
</div><div class="hljs-line"> status <span class="hljs-number">1</span>,进行中 <span class="hljs-number">2</span>，未拆开，<span class="hljs-number">3</span>，退款中 <span class="hljs-number">4</span>，已拆开 <span class="hljs-number">5</span>，已退款
</div><div class="hljs-line"> liveid  直播间ID
</div><div class="hljs-line"> 返回
</div><div class="hljs-line">    {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"info"</span>:[[{<span class="hljs-string">"task_id"</span>:<span class="hljs-string">"11"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"8894"</span>,<span class="hljs-string">"drawmoney"</span>:<span class="hljs-string">"0.00"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"title"</span>:<span class="hljs-string">"\u62a2\u7ea2\u5305"</span>,<span class="hljs-string">"num"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"already_num"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"money"</span>:<span class="hljs-string">"50"</span>},{<span class="hljs-string">"task_id"</span>:<span class="hljs-string">"17"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"8894"</span>,<span class="hljs-string">"drawmoney"</span>:<span class="hljs-string">"0.00"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"title"</span>:<span class="hljs-string">"\u4e0d\u540c\u7684\u798f\u8fd0\uff0c\u8ba9\u4f60\u8f7b\u677e\u62a2\u5230400\u64ad\u8c46"</span>,<span class="hljs-string">"num"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"already_num"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"money"</span>:<span class="hljs-string">"10"</span>}]]},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="5已参与红包任务详情">5.已参与红包任务详情</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line"> url  service=RedBagGame.reddetails
</div><div class="hljs-line"> 参数
</div><div class="hljs-line">   uid 
</div><div class="hljs-line">   status <span class="hljs-number">1</span>,进行中 <span class="hljs-number">2</span>，未拆开，<span class="hljs-number">3</span>，退款中 <span class="hljs-number">4</span>，已拆开 <span class="hljs-number">5</span>，已退款
</div><div class="hljs-line">   task_id 
</div><div class="hljs-line">   返回
</div><div class="hljs-line">     {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"info"</span>:[{<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u652f\u4ed810\u64ad\u8c46\u53c2\u52a0\uff0c\u5df2\u53c2\u52a03\u4eba\uff0c\u6ee13\u4eba\u9001\u798f\u3002"</span>,<span class="hljs-string">"title"</span>:<span class="hljs-string">"\u4e0d\u540c\u7684\u798f\u8fd0\uff0c\u8ba9\u4f60\u8f7b\u677e\u62a2\u5230200\u64ad\u8c46"</span>,<span class="hljs-string">"type"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"partask"</span>:[{<span class="hljs-string">"id"</span>:<span class="hljs-string">"21"</span>,<span class="hljs-string">"task_id"</span>:<span class="hljs-string">"15"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"8884"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"paymoney"</span>:<span class="hljs-string">"10"</span>,<span class="hljs-string">"drawmoney"</span>:<span class="hljs-string">"3.03"</span>,<span class="hljs-string">"uptime"</span>:<span class="hljs-string">"1500452440"</span>,<span class="hljs-string">"nickname"</span>:<span class="hljs-string">"\u624b\u673a\u7528\u62376795"</span>,<span class="hljs-string">"avatar_thumb"</span>:<span class="hljs-string">"http:\/\/vlive.jzbwlkj.com.com\/default_thumb.jpg"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"43"</span>,<span class="hljs-string">"task_id"</span>:<span class="hljs-string">"15"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"8895"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"paymoney"</span>:<span class="hljs-string">"10"</span>,<span class="hljs-string">"drawmoney"</span>:<span class="hljs-string">"25.10"</span>,<span class="hljs-string">"uptime"</span>:<span class="hljs-string">"1500452440"</span>,<span class="hljs-string">"nickname"</span>:<span class="hljs-string">"\u624b\u673a\u7528\u62379337"</span>,<span class="hljs-string">"avatar_thumb"</span>:<span class="hljs-string">"http:\/\/vlive.jzbwlkj.com.com\/default_thumb.jpg"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"45"</span>,<span class="hljs-string">"task_id"</span>:<span class="hljs-string">"15"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"8894"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"paymoney"</span>:<span class="hljs-string">"10"</span>,<span class="hljs-string">"drawmoney"</span>:<span class="hljs-string">"1.87"</span>,<span class="hljs-string">"uptime"</span>:<span class="hljs-string">"1500452440"</span>,<span class="hljs-string">"nickname"</span>:<span class="hljs-string">"\u624b\u673a\u7528\u62378082"</span>,<span class="hljs-string">"avatar_thumb"</span>:<span class="hljs-string">"http:\/\/vlive.jzbwlkj.com.com\/default_thumb.jpg"</span>}]}]},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="6未参与任务详情">6.未参与任务详情</h5>

<pre class="prettyprint hljs-dark"><code class="hljs taggerscript"><div class="hljs-line"> url RedBagGame.noReddetails
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> uid
</div><div class="hljs-line"> task_id
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> type 2 显示我要参加按钮 1 显示我要发起按钮 3 显示我要发起和已过期按钮
</div><div class="hljs-line"> {"ret":200,"data":{"code":0,"msg":"<span class="hljs-symbol">\u</span>64cd<span class="hljs-symbol">\u</span>4f5c<span class="hljs-symbol">\u</span>6210<span class="hljs-symbol">\u</span>529f","info":[{"msg":"<span class="hljs-symbol">\u</span>652f<span class="hljs-symbol">\u</span>4ed810<span class="hljs-symbol">\u</span>64ad<span class="hljs-symbol">\u</span>8c46<span class="hljs-symbol">\u</span>53c2<span class="hljs-symbol">\u</span>52a0<span class="hljs-symbol">\u</span>ff0c<span class="hljs-symbol">\u</span>5df2<span class="hljs-symbol">\u</span>53c2<span class="hljs-symbol">\u</span>52a01<span class="hljs-symbol">\u</span>4eba<span class="hljs-symbol">\u</span>ff0c<span class="hljs-symbol">\u</span>6ee13<span class="hljs-symbol">\u</span>4eba<span class="hljs-symbol">\u</span>9001<span class="hljs-symbol">\u</span>798f<span class="hljs-symbol">\u</span>3002","title":"<span class="hljs-symbol">\u</span>4e0d<span class="hljs-symbol">\u</span>540c<span class="hljs-symbol">\u</span>7684<span class="hljs-symbol">\u</span>798f<span class="hljs-symbol">\u</span>8fd0<span class="hljs-symbol">\u</span>ff0c<span class="hljs-symbol">\u</span>8ba9<span class="hljs-symbol">\u</span>4f60<span class="hljs-symbol">\u</span>8f7b<span class="hljs-symbol">\u</span>677e<span class="hljs-symbol">\u</span>62a2<span class="hljs-symbol">\u</span>5230100<span class="hljs-symbol">\u</span>64ad<span class="hljs-symbol">\u</span>8c46","type":2,"partask":[{"id":"49","task_id":"21","uid":"8893","status":"1","paymoney":"10","drawmoney":"0.00","uptime":"2017-07-21 08:44:57","liveid":"8895","nickname":"<span class="hljs-symbol">\u</span>624b<span class="hljs-symbol">\u</span>673a<span class="hljs-symbol">\u</span>7528<span class="hljs-symbol">\u</span>62378180","avatar_thumb":"http:<span class="hljs-symbol">\/</span><span class="hljs-symbol">\/</span>vlive.jzbwlkj.com.com<span class="hljs-symbol">\/</span>default_thumb.jpg"}]}]},"msg":""}
</div></code></pre>



<h5 id="7-红包退款">7. 红包退款</h5>

<pre class="prettyprint hljs-dark"><code class="hljs protobuf"><div class="hljs-line">url  <span class="hljs-class"><span class="hljs-keyword">service</span>=<span class="hljs-title">RedBagGame</span>.refund
</span></div><div class="hljs-line">参数
</div><div class="hljs-line">uid
</div><div class="hljs-line">task_id
</div><div class="hljs-line"> 返回 
</div><div class="hljs-line"> {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"info"</span>:[]},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="8我的收益">8.我的收益</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line">url  service=RedBagGame.redProfit
</div><div class="hljs-line">参数
</div><div class="hljs-line">uid
</div><div class="hljs-line">返回
</div><div class="hljs-line">{<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"info"</span>:{<span class="hljs-string">"insert"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"get"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"profit"</span>:-<span class="hljs-number">2</span>,<span class="hljs-string">"record"</span>:[{<span class="hljs-string">"id"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"8897"</span>,<span class="hljs-string">"coin"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"type"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"task_id"</span>:<span class="hljs-string">"10"</span>,<span class="hljs-string">"uptime"</span>:<span class="hljs-string">"1502072112"</span>}]}},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="9红包规则">9.红包规则</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line">url service=RedBagGame.redrule
</div><div class="hljs-line">返回
</div><div class="hljs-line">{<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"info"</span>:{<span class="hljs-string">"content"</span>:<span class="hljs-string">"&lt;p&gt;&lt;img src=\"</span>http:\/\/taiguoqi.yunbaozhibo.com\/ueditor_20170811_598d1945a3938.jpg\<span class="hljs-string">" title=\"</span>timg.jpg\<span class="hljs-string">" alt=\"</span>timg.jpg\<span class="hljs-string">"\/&gt;&lt;\/p&gt;"</span>}},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="10我的余额">10.我的余额</h5>

<pre class="prettyprint hljs-dark"><code class="hljs protobuf"><div class="hljs-line"> url <span class="hljs-class"><span class="hljs-keyword">service</span>=<span class="hljs-title">RedBagGame</span>.mybalance
</span></div><div class="hljs-line"> 参数
</div><div class="hljs-line"> uid
</div><div class="hljs-line"> task_id 红包任务ID
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> balance   我的余额
</div><div class="hljs-line"> paymoney  需要支付播豆
</div><div class="hljs-line"> {<span class="hljs-string">"ret"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"code"</span>:<span class="hljs-number">0</span>,<span class="hljs-string">"msg"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"info"</span>:{<span class="hljs-string">"balance"</span>:<span class="hljs-string">"395837"</span>,<span class="hljs-string">"paymoney"</span>:<span class="hljs-string">"5.00"</span>}},<span class="hljs-string">"msg"</span>:<span class="hljs-string">""</span>}
</div></code></pre>



<h5 id="11我的钱包-商城">11.我的钱包 （商城）</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line"> url  api/user/Mywallet
</div><div class="hljs-line">返回
</div><div class="hljs-line">{<span class="hljs-string">"code"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"操作成功"</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"uid"</span>:<span class="hljs-string">"33"</span>,<span class="hljs-string">"amount"</span>:<span class="hljs-string">"0.00"</span>}}
</div></code></pre>



<h5 id="12我的消费记录商城">12.我的消费记录（商城）</h5>

<pre class="prettyprint hljs-dark"><code class="hljs gradle"><div class="hljs-line">url  api<span class="hljs-regexp">/user/my</span>Record
</div><div class="hljs-line">参数
</div><div class="hljs-line">page 页数
</div><div class="hljs-line">返回
</div><div class="hljs-line">{<span class="hljs-string">"code"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"操作成功"</span>,<span class="hljs-string">"data"</span>:[{<span class="hljs-string">"id"</span>:<span class="hljs-string">"7"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"109"</span>,<span class="hljs-string">"order_id"</span>:<span class="hljs-string">"313"</span>,<span class="hljs-string">"type"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"money"</span>:<span class="hljs-string">"0.01"</span>,<span class="hljs-string">"month"</span>:<span class="hljs-string">"201708"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"createtime"</span>:<span class="hljs-string">"1502006729"</span>,<span class="hljs-string">"pay_account"</span>:<span class="hljs-keyword">null</span>,<span class="hljs-string">"uptime"</span>:<span class="hljs-keyword">null</span>,<span class="hljs-string">"paytype"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"type_txt"</span>:<span class="hljs-string">"购买"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"6"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"109"</span>,<span class="hljs-string">"order_id"</span>:<span class="hljs-string">"314"</span>,<span class="hljs-string">"type"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"money"</span>:<span class="hljs-string">"0.01"</span>,<span class="hljs-string">"month"</span>:<span class="hljs-string">"201708"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"createtime"</span>:<span class="hljs-string">"1502006717"</span>,<span class="hljs-string">"pay_account"</span>:<span class="hljs-keyword">null</span>,<span class="hljs-string">"uptime"</span>:<span class="hljs-keyword">null</span>,<span class="hljs-string">"paytype"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"type_txt"</span>:<span class="hljs-string">"购买"</span>}]}
</div></code></pre>



<h5 id="13申请提现商城">13.申请提现（商城）</h5>

<pre class="prettyprint hljs-dark"><code class="hljs awk"><div class="hljs-line">url  api<span class="hljs-regexp">/user/</span>cash
</div><div class="hljs-line">参数
</div><div class="hljs-line">pay_account  支付宝账号
</div><div class="hljs-line">money 提现金额
</div></code></pre>



<h5 id="14我的邀请码商城">14.我的邀请码（商城）</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line"> url  api/user/myqrcode
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> token
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> {<span class="hljs-string">"code"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"操作成功"</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"qrcode"</span>:<span class="hljs-string">"http:\/\/shop.jianghaishiji.com\/Uploads\/qrcode\/1503577701109.png"</span>}}
</div></code></pre>



<h5 id="15播豆支付获取所需支付播豆和账号余额播豆">15.播豆支付，获取所需支付播豆和账号余额播豆</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line"> ur  api/<span class="hljs-keyword">order</span>/getorderscore
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> token
</div><div class="hljs-line"> order_id
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> {<span class="hljs-string">"code"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"操作成功"</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"order_price"</span>:<span class="hljs-number">5000</span>,<span class="hljs-string">"mycoin"</span>:<span class="hljs-string">"2267"</span>}}
</div></code></pre>



<h5 id="16播豆支付">16.播豆支付</h5>

<pre class="prettyprint hljs-dark"><code class="hljs haml"><div class="hljs-line">  url  api/order/scorePayOrder
</div><div class="hljs-line">  参数
</div><div class="hljs-line">  order_id
</div><div class="hljs-line">  返回
</div><div class="hljs-line">  -<span class="ruby"><span class="hljs-number">1</span> 您的账户播豆不足
</span></div><div class="hljs-line">  1 支付成功
</div></code></pre>



<h5 id="17我的推荐">17.我的推荐</h5>

<pre class="prettyprint hljs-dark"><code class="hljs groovy"><div class="hljs-line">    url  <span class="hljs-regexp">/api/</span>user/refereesList
</div><div class="hljs-line">    返回
</div><div class="hljs-line">    ztlist 直推会员
</div><div class="hljs-line">    jlist  间推会员
</div><div class="hljs-line">    {<span class="hljs-string">"code"</span>:<span class="hljs-number">200</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"data"</span>:{<span class="hljs-string">"ztlist"</span>:[{<span class="hljs-string">"id"</span>:<span class="hljs-string">"50"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"35"</span>,<span class="hljs-string">"nickname"</span>:<span class="hljs-string">"15737978615"</span>,<span class="hljs-string">"sex"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"birthday"</span>:<span class="hljs-string">"0000-00-00"</span>,<span class="hljs-string">"qq"</span>:<span class="hljs-string">""</span>,<span class="hljs-string">"score"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"login"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"reg_ip"</span>:<span class="hljs-string">"124132"</span>,<span class="hljs-string">"reg_time"</span>:<span class="hljs-string">"1498010796"</span>,<span class="hljs-string">"last_login_ip"</span>:<span class="hljs-string">"119181"</span>,<span class="hljs-string">"last_login_time"</span>:<span class="hljs-string">"1500079809"</span>,<span class="hljs-string">"avatar"</span>:<span class="hljs-string">"Picture\/2017-06-21\/5949d5e1cdc29.jpg"</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"pay_pwd"</span>:<span class="hljs-string">"e10adc3949ba59abbe56e057f20f883e"</span>,<span class="hljs-string">"amount"</span>:<span class="hljs-string">"19779.3315"</span>,<span class="hljs-string">"cd_acc"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"referrer"</span>:<span class="hljs-string">"13639447983"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"60"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"45"</span>,<span class="hljs-string">"nickname"</span>:<span class="hljs-string">"18766876730"</span>,<span class="hljs-string">"sex"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"birthday"</span>:<span class="hljs-string">"0000-00-00"</span>,<span class="hljs-string">"qq"</span>:<span class="hljs-string">""</span>,<span class="hljs-string">"score"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"login"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"reg_ip"</span>:<span class="hljs-string">"124132"</span>,<span class="hljs-string">"reg_time"</span>:<span class="hljs-string">"1498877842"</span>,<span class="hljs-string">"last_login_ip"</span>:<span class="hljs-string">"124132"</span>,<span class="hljs-string">"last_login_time"</span>:<span class="hljs-string">"1501296494"</span>,<span class="hljs-string">"avatar"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"pay_pwd"</span>:<span class="hljs-string">"e10adc3949ba59abbe56e057f20f883e"</span>,<span class="hljs-string">"amount"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"cd_acc"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"referrer"</span>:<span class="hljs-string">"13639447983"</span>}],<span class="hljs-string">"jlist"</span>:[{<span class="hljs-string">"id"</span>:<span class="hljs-string">"46"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"31"</span>,<span class="hljs-string">"nickname"</span>:<span class="hljs-string">"13675478823"</span>,<span class="hljs-string">"sex"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"birthday"</span>:<span class="hljs-string">"0000-00-00"</span>,<span class="hljs-string">"qq"</span>:<span class="hljs-string">""</span>,<span class="hljs-string">"score"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"login"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"reg_ip"</span>:<span class="hljs-string">"124132"</span>,<span class="hljs-string">"reg_time"</span>:<span class="hljs-string">"1497574064"</span>,<span class="hljs-string">"last_login_ip"</span>:<span class="hljs-string">"124132"</span>,<span class="hljs-string">"last_login_time"</span>:<span class="hljs-string">"1497574068"</span>,<span class="hljs-string">"avatar"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"pay_pwd"</span>:<span class="hljs-string">"11154cc9c7a17501e32cc6a019fb7192"</span>,<span class="hljs-string">"amount"</span>:<span class="hljs-string">"9.8"</span>,<span class="hljs-string">"cd_acc"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"referrer"</span>:<span class="hljs-string">"15737978615"</span>},{<span class="hljs-string">"id"</span>:<span class="hljs-string">"61"</span>,<span class="hljs-string">"uid"</span>:<span class="hljs-string">"46"</span>,<span class="hljs-string">"nickname"</span>:<span class="hljs-string">"15689788825"</span>,<span class="hljs-string">"sex"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"birthday"</span>:<span class="hljs-string">"0000-00-00"</span>,<span class="hljs-string">"qq"</span>:<span class="hljs-string">""</span>,<span class="hljs-string">"score"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"login"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"reg_ip"</span>:<span class="hljs-string">"124132"</span>,<span class="hljs-string">"reg_time"</span>:<span class="hljs-string">"1500549564"</span>,<span class="hljs-string">"last_login_ip"</span>:<span class="hljs-string">"124132"</span>,<span class="hljs-string">"last_login_time"</span>:<span class="hljs-string">"1500549574"</span>,<span class="hljs-string">"avatar"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"status"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"pay_pwd"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"amount"</span>:<span class="hljs-string">"0"</span>,<span class="hljs-string">"cd_acc"</span>:<span class="hljs-literal">null</span>,<span class="hljs-string">"referrer"</span>:<span class="hljs-string">"18766876730"</span>}]}}      
</div></code></pre></div></body></html>